package cn.kgc.tafang.entity;

import java.io.Serializable;

/**
 * 用户类
 */
public class User implements Serializable {
    private String name;      //登陆用户名
    private String pwd;     //登陆密码
    private Hero hero; //用户所拥有的英雄

    public Hero getHero() {
        return hero;
    }

    public void setHero(Hero hero) {
        this.hero = hero;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public User(String name, String pwd) {
        this.name = name;
        this.pwd = pwd;
        this.hero = new Hero(null,1,60,null,10000,0,100,100,0,
                1,0,null,null,null);
    }

    public User() {
    }
}
